import i18n from '@/common/lang'

export const columns = [
  {
    label: i18n.t('financialSynergy.payment.applicationNo'),
    minWidth: 140,
    width: 'auto',
    prop: 'number',
    fixed: true
  },
  {
    label: i18n.t('financialSynergy.payment.type'),
    minWidth: 140,
    width: 'auto',
    prop: 'payType'
  },
  {
    label: i18n.t('financialSynergy.payment.payNum'),
    minWidth: 140,
    width: 'auto',
    prop: 'payAmount'
  },
  {
    label: i18n.t('financialSynergy.payment.payDate'),
    minWidth: 140,
    width: 'auto',
    prop: 'payDate'
  },
  {
    label: i18n.t('financialSynergy.payment.receiveBankName'),
    minWidth: 140,
    width: 'auto',
    prop: 'openingBankName'
  },
  {
    label: i18n.t('financialSynergy.payment.receiveBank'),
    minWidth: 140,
    width: 'auto',
    prop: 'openingBankNumber'
  }
]
export const detailColumnsAdv = [
  {
    label: i18n.t('financialSynergy.payment.contractNumber'),
    minWidth: 140,
    width: 'auto',
    prop: 'contractNumber',
    fixed: true
  },
  {
    label: i18n.t('financialSynergy.payment.contractName'),
    minWidth: 140,
    width: 'auto',
    prop: 'contractName'
  },
  {
    label: i18n.t('financialSynergy.payment.contractType'),
    minWidth: 140,
    width: 'auto',
    prop: 'contractType'
  },
  {
    label: i18n.t('financialSynergy.payment.beginDate'),
    minWidth: 140,
    width: 'auto',
    prop: 'beginDate'
  },
  {
    label: i18n.t('financialSynergy.payment.endDate'),
    minWidth: 140,
    width: 'auto',
    prop: 'endDate'
  },
  {
    label: i18n.t('financialSynergy.payment.contractAmount'),
    minWidth: 140,
    width: 'auto',
    prop: 'contractAmount'
  },
  {
    label: i18n.t('financialSynergy.payment.paidAmount'),
    minWidth: 140,
    width: 'auto',
    prop: 'paidAmount'
  },
  {
    label: i18n.t('financialSynergy.payment.unpaidAmount'),
    minWidth: 140,
    width: 'auto',
    prop: 'unpaidAmount'
  }
]
export const detailColumnsMeet = [
  {
    label: i18n.t('financialSynergy.payment.invoiceNumber'),
    minWidth: 140,
    width: 'auto',
    prop: 'invoiceNumber',
    fixed: true
  },
  {
    label: i18n.t('financialSynergy.payment.invoiceType'),
    minWidth: 140,
    width: 'auto',
    prop: 'invoiceType'
  },
  {
    label: i18n.t('financialSynergy.payment.amount'),
    minWidth: 140,
    width: 'auto',
    prop: 'amount'
  }
]
export const actions = [
  {
    key: 'detail',
    text: i18n.t('common.detail')
    // permissions: 'upms:dict:update'
  }
]
